[][src]Crate arrayvec

arrayvec provides the types ArrayVec and ArrayString: array-backed vector and string types, which store their contents inline.

The arrayvec package has the following cargo features:

  • std

    • Optional, enabled by default
    • Use libstd; disable to use no_std instead.
  • serde-1

    • Optional
    • Enable serialization for ArrayVec and ArrayString using serde 1.0
  • array-sizes-33-128, array-sizes-129-255

    • Optional
    • Enable more array sizes (see Array for more information)

Rust Version

This version of arrayvec requires Rust 1.13 or later.

Structs

ArrayString

A string with a fixed capacity.

ArrayVec

A vector with a fixed capacity.

CapacityError

Error value indicating insufficient capacity

Drain

A draining iterator for ArrayVec.

IntoIter

By-value iterator for ArrayVec.

Traits

Array

Trait for fixed size arrays.

RangeArgument

RangeArgument is implemented by Rust's built-in range types, produced by range syntax like .., a.., ..b or c..d.